﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace m10cde_WinForms.Shapes
{
    ///<summary>
    ///creates shapes for the game
    ///</summary>
    class ShapeFactory 
    {
        /// <summary>
        /// Basic empty constructor
        /// </summary>
        public ShapeFactory(){
        }
        ///<summary>
        /// Method to make a shape with the necessary info, is void right now as the necessary backend doesnt exist yet
        /// 1 = square. 2 = L. 3 = T, 4 = Line
        ///</summary>
        public void createShape(){
            Random r = new Random();
            int rand = r.Next(1,4); // value between 1 and 4

            if (rand == 1){
                Square mySquare = new Square();
             //   return mySquare;
            }
            if (rand == 2){
             //   L myL = new L();
             //   return myL;
            }
            if (rand == 3){
             //   T myT = new T();
             //   return myT;
            }
            if (rand == 4){
             //   Line myLine = new Line();
             //   return myLine;
            }
  //     public Shape createShape(){
  //          Shape newShape = new Square();
  //          return newShape;
        }
    }
}
